#!/bin/sh

list=`ls net_* obj_* dhp_* log_* prx* quick* sec_* sys_*`
for i in $list
do
	echo $i
	#sed -i '1 i\<?php' $i
	#sed -i '2 i\session_start();' $i
	#sed -i '3 i\include_once("function_right.php");' $i
	sed -i 's/JudgeUserRight();/if(!JudgeUserRight()) return FALSE;/' $i
	#sed -i '5 i\?>' $i
done
